package vesko1.model;

public class Person {
    
    private String egn;
    private String name;
    private boolean isPhys;
    private String city;
    private String adress;
    private String phone;
    private String email;
    private boolean PTP;


    public Person() {
    }

    public void setPTP(boolean PTP) {
        this.PTP = PTP;
    }

    public boolean isPTP() {
        return PTP;
    }
    
    public Person(String egn, String name, boolean isPhys, 
            String city, 
            String adress, 
            String phone, 
            String email, boolean PTP) {
        this.egn = egn;
        this.name = name;
        this.isPhys = isPhys;
        this.city = city;
        this.adress = adress;
        this.phone = phone;
        this.email = email;
        this.PTP = PTP;
    }

    
    
    public String getAdress() {
        return adress;
    }

    public String getCity() {
        return city;
    }

    public String getEgn() {
        return egn;
    }

    public String getEmail() {
        return email;
    }

    public boolean isIsPhys() {
        return isPhys;
    }

    public String getName() {
        return name;
    }

    public String getPhone() {
        return phone;
    }

    public void setAdress(String adress) {
        this.adress = adress;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public void setEgn(String egn) {
        this.egn = egn;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setIsPhys(boolean isPhys) {
        this.isPhys = isPhys;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    
    
}
